<template>
  <div>这是详情页面</div>
</template>

<script setup>
import { useRoute } from "vue-router";

const route = useRoute();

console.log(route.params.id);
</script>
